package cn.hzc.fortess.spi.bean;


public enum JwtExceptionEnum {

    SUCCESS("0000", "SUCCESS"),
    TOKEN_EXCEPTION("9527", "TOKEN验证失败，请重新登录"),
    AUTH_FAIL("9000", "未授权的资源"),
    TOKEN_EXPIRED("9010", "TOKEN过期，请重新登录"),
    USER_LOGIN_FAIL("9011", "用户认证失败"),
    PWD_ORIGINAL_ERROR("9012", "原密码错误"),
    REQUEST_NULL("9014", "参数错误"),

    ;


    private String code;
    private String message;

    JwtExceptionEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }


    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
